package com.qm.console.dao.dm;

import com.qm.console.model.SpiderArticleDO;
import com.qm.console.model.SpiderArticleDOExample;
import com.qm.console.model.SpiderArticleDOWithBLOBs;
import com.qm.console.pubdef.dto.jw.SpiderArticleQueryDTO;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SpiderArticleDOMapper {
    int countByExample(SpiderArticleDOExample example);

    int deleteByExample(SpiderArticleDOExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SpiderArticleDOWithBLOBs record);

    int insertSelective(SpiderArticleDOWithBLOBs record);

    List<SpiderArticleDOWithBLOBs> selectByExampleWithBLOBs(SpiderArticleDOExample example);

    List<SpiderArticleDO> selectByExample(SpiderArticleDOExample example);

    SpiderArticleDOWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SpiderArticleDOWithBLOBs record, @Param("example") SpiderArticleDOExample example);

    int updateByExampleWithBLOBs(@Param("record") SpiderArticleDOWithBLOBs record, @Param("example") SpiderArticleDOExample example);

    int updateByExample(@Param("record") SpiderArticleDO record, @Param("example") SpiderArticleDOExample example);

    int updateByPrimaryKeySelective(SpiderArticleDOWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(SpiderArticleDOWithBLOBs record);

    int updateByPrimaryKey(SpiderArticleDO record);

    List<SpiderArticleDOWithBLOBs> list(SpiderArticleQueryDTO queryDTO);

    int count(SpiderArticleQueryDTO queryDTO);

}